/**
 * Issue resolution timeline domain class.
 */
class IssueResolutionTimeline extends Timeline{
    IssueResolution resolution

    static belongsTo = [issue: Issue]
    
    static constraints = {
        resolution(blank: false)
    }

    public String toString() {
        return "$resolution - ($user, $fromDate-$toDate)";
    }
}
